from game.object.item import Item

class Armor(Item):
    def __init__(self, name, **args):
        Item.__init__(self, name, **args)

        self.group = 'armor'

        #broad armor type e.g. cloth, leather, chain, plate
        self.typ = None

        #armor category e.g. bone, scale, silk, (materials)
        self.cat = None

        #base defense rating (chance to dodge)
        self.base_def = 0

        #base damage threshold (min damage before taking damage)
        self.base_dt = 0

        #base damage rating (percentage)
        self.base_dr = 0